summaryrefslogtreecommitdiff
path: root/app/[lng]/evcp/(evcp)/(master-data)/general-contract-template/page.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(master-data)/general-contract-template/page.tsx')
-rw-r--r--app/[lng]/evcp/(evcp)/(master-data)/general-contract-template/page.tsx8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/[lng]/evcp/(evcp)/(master-data)/general-contract-template/page.tsx b/app/[lng]/evcp/(evcp)/(master-data)/general-contract-template/page.tsx
index 8a652690..c82f6b5a 100644
--- a/app/[lng]/evcp/(evcp)/(master-data)/general-contract-template/page.tsx
+++ b/app/[lng]/evcp/(evcp)/(master-data)/general-contract-template/page.tsx
@@ -9,14 +9,18 @@ import { getContractTemplates } from "@/lib/general-contract-template/service"
import { searchParamsTemplatesCache } from "@/lib/general-contract-template/validations"
import { ContractTemplateTable } from "@/lib/general-contract-template/template/general-contract-template"
import { InformationButton } from "@/components/information/information-button"
+import { useTranslation } from "@/i18n"
interface IndexPageProps {
+ params: Promise<{lng: string}>
searchParams: Promise<SearchParams>
}
export default async function IndexPage(props: IndexPageProps) {
const searchParams = await props.searchParams
const search = searchParamsTemplatesCache.parse(searchParams)
+ const {lng} = await props.params
+ const {t} = await useTranslation(lng, 'menu')
const validFilters = getValidFilters(search.filters)
@@ -34,12 +38,12 @@ export default async function IndexPage(props: IndexPageProps) {
<div>
<div className="flex items-center gap-2">
<h2 className="text-2xl font-bold tracking-tight">
- 일반계약(Contract) 표준양식 관리
+ {t('menu.master_data.general_contract_template')}
</h2>
<InformationButton pagePath="evcp/general-contract-template" />
</div>
<p className="text-muted-foreground mt-2">
- 다양한 계약 유형의 표준양식을 관리합니다. LO, FA, PO, CS, EU 등 계약 종류별 템플릿을 등록하고 편집할 수 있습니다.
+ {t('menu.master_data.general_contract_template_desc')}
</p>
</div>
</div>